using Microsoft.SPOT;
using System;

namespace NetduinoHappyHour.Util
{
    /// <summary>
    /// returns the overall status of the system
    /// Written by: Salvador Richter
    /// Appache License Version 2.0 
    /// </summary>
    public class ReadSystemStatus : IExecutable, IInteractionResponseMessage
    {
        private string _message = null;

        public ReadSystemStatus() { }

        public void Execute()
        {
            _message = SystemStatus.Instance().GetMessage();
        }

        public string ResponseMessage()
        {
            return _message;
        }
    }
}
